package ecode

// CommonErrCode ecode
var (
	OK                      = New(0, "OK")
	ParamValid              = New(-10, "param valid")
	MysqlValid              = New(-11, "mysql invalid")
	RedisValid              = New(-12, "redis invalid")
	AccessKeyErr            = New(-13, "access key error")
	SignCheckErr            = New(-14, "sign checked error")
	MethodNoPermission      = New(-15, "method not permit")
	AppKeyInvalid           = New(-16, "app key invalid")
	NoLogin                 = New(-101, "not login")
	UserDisabled            = New(-102, "user disable")
	CaptchaErr              = New(-103, "captcha error")
	UserInactive            = New(-104, "user inactive")
	ServiceUpdate           = New(-105, "service update")
	UserIDCheckInvalid      = New(-106, "user id invalid")
	UserIDCheckInvalidPhone = New(-107, "user phone invalid")
	UserIDCheckInvalidCard  = New(-108, "user id card invalid")
	NotModified             = New(-109, "not modify")
	RequestErr              = New(-400, "request error")
	Unauthorized            = New(-401, "unauthorized")
	AccessDenied            = New(-402, "access denied")
	NothingFound            = New(-403, "not found")
	MethodNotAllowed        = New(-404, "method not allowed")
	Conflict                = New(-405, "conflict")
	Canceled                = New(-406, "canceled")
	ClosedRequest           = New(-407, "request closed")
	ServerErr               = New(-500, "server error")
	ServiceUnavailable      = New(-501, "server unavailable")
	Deadline                = New(-502, "deadline")
	LimitExceed             = New(-503, "limit exceed")
	FileNotExists           = New(-616, "file not exist")
	FileTooLarge            = New(-617, "file too large")
	FailedTooManyTimes      = New(-625, "too many error")
	UserNotExist            = New(-626, "user not exist")
	UsernameOrPasswordErr   = New(-629, "username or password error")
	TargetNumberLimit       = New(-632, "target limited")
	TargetBlocked           = New(-643, "target blocked")
	UserLevelLow            = New(-650, "user level too low")
	UserDuplicate           = New(-652, "user duplicate")
	AccessTokenExpires      = New(-658, "access token is expire")
	PasswordHashExpires     = New(-662, "password is expired")
	AreaLimit               = New(-688, "area limit")
	CopyrightLimit          = New(-689, "copyright limit")
	BusinessDegrade         = New(-800, "business degrade")
	Degrade                 = New(-801, "degrade")
	RPCNoClient             = New(-802, "rpc no client")
	RPCNoAuth               = New(-803, "rpc no auth")
)
